.aniu-slider {
  position: relative;
  width: 1200px;
  height: 460px;
  margin: 0 auto;
  overflow: hidden;
  .aniu-slider-ul {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    li {
      display: none;
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      background-color: #f5f5f5;
      overflow: hidden;
      a {
        display: block;
      }
      .slider-ad-img {
        display: block;
        width: 100%;
        height: 100%;
      }
    }
    .cur {
      display: block;
    }
  }

  .nav {
    display: block;
    position: absolute;
    right: 30px;
    bottom: 5%;
    z-index: 200;
    overflow: hidden;
    i {
      float: left;
      margin-right: 8px;
      display: inline-block;
      width: 12px;
      height: 12px;
      background-color: #fff;
      opacity: .3;
      filter: alpha(opacity=30);
      border-radius: 50%;
      &:hover {
        cursor: pointer;
      }
    }
    .cur {
      opacity: 1;
      filter: alpha(opacity=100);
    }

  }

  .prv, .next {
    position: absolute;
    width: 70px;
    height: 70px;
    line-height: 70px;
    color: #ffffff;
    text-align: center;
    font-size: 24px;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.1);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#19000000', endColorstr='#19000000');
    margin-top: -40px;
    top: 50%;
    display: none;
    span {
      display: block;
    }
    &:hover {
      background-color: rgba(0, 0, 0, 0.3);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4c000000', endColorstr='#4c000000');
      span {
        font-size: 26px;
        font-weight: bold;
      }
    }
  }

  .prv {
    left: 0;
    &:hover {
      span {
        -webkit-animation: prv-animation .3s ease-in-out forwards;
        -o-animation: prv-animation .3s ease-in-out forwards;
        -moz-animation: prv-animation .3s ease-in-out forwards;
        animation: prv-animation .3s ease-in-out forwards;
      }
      .move-animation-com(prv-animation, 0, 0, -5px, 0);
    }

  }

  .next {
    right: 0;
    &:hover {
      span {
        -webkit-animation: next-animation .3s ease-in-out forwards;
        -o-animation: next-animation .3s ease-in-out forwards;
        -moz-animation: next-animation .3s ease-in-out forwards;
        animation: next-animation .3s ease-in-out forwards;
      }

    }
    .move-animation-com(next-animation, 0, 0, 5px, 0);
  }

}

.toggle-button-animation {
  .prv, .next {
    display: block;
  }
  .prv {
    -webkit-animation: prv-toggle-button-animation .3s ease-in-out forwards;
    -o-animation: prv-toggle-button-animation .3s ease-in-out forwards;
    -moz-animation: prv-toggle-button-animation .3s ease-in-out forwards;
    animation: prv-toggle-button-animation .3s ease-in-out forwards;
  }
  .move-animation-com(prv-toggle-button-animation, -75px, 0, 0, 0);
  .next {
    -webkit-animation: next-toggle-button-animation .3s ease-in-out forwards;
    -o-animation: next-toggle-button-animation .3s ease-in-out forwards;
    -moz-animation: next-toggle-button-animation .3s ease-in-out forwards;
    animation: next-toggle-button-animation .3s ease-in-out forwards;
  }
  .move-animation-com(next-toggle-button-animation, 75px, 0, 0, 0);
}

.move-animation-com(@animation,@x1,@y1,@x2,@y2) {
  @-webkit-keyframes @animation {
    0% {
      transform: translate(@x1,@y1);
    }
    100% {
      transform: translate(@x2,@y2);

    }
  }
  @-o-keyframes @animation {
    0% {
      transform: translate(@x1,@y1);
    }
    100% {
      transform: translate(@x2,@y2);

    }
  }
  @-moz-keyframes @animation {
    0% {
      transform: translate(@x1,@y1);
    }
    100% {
      transform: translate(@x2,@y2);

    }
  }
  @-ms-keyframes @animation {
    0% {
      transform: translate(@x1,@y1);
    }
    100% {
      transform: translate(@x2,@y2);

    }
  }
  @keyframes @animation {
    0% {
      transform: translate(@x1,@y1);
    }
    100% {
      transform: translate(@x2,@y2);

    }
  }
}
